@echo off
if "%1"=="" goto loop
copy gunman%1.in gunman.in
echo Problem Test
echo Data %1
time<enter
gunman
time<enter
copy gunman%1.out gunman.ans >nul
check gunman.in gunman.out gunman.ans check.txt
type check.txt
del gunman.in
del gunman.out
del gunman.ans
del check.txt
pause
goto end
:loop
for %%i in (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20) do call %0 %%i
:end
